<div class="content">
	<ul class="link">
		<li><a href="#"><span>Tường thuật trực tiếp </span></a></li>
		<li <?php echo($area == 'MB' ? 'class="active"' : '');?>>
			<a href="<?php echo location_link('xo-so-mien-bac');?>"><span>Miền Bắc</span></a>
		</li>
		<li <?php echo($area == 'MT' ? 'class="active"' : '');?>><a href="<?php echo location_link('xo-so-mien-trung');?>"><span>Miền Trung</span></a>
		<?php if($locations && $area == 'MT'):?>
			<ul class="submenu">
			<?php foreach($locations as $k => $v):?>
				<li><a href="<?php echo location_link($v->alias);?>"><?php echo $v->name;?></a></li>
			<?php endforeach;?>
			</ul>
		<?php endif;?>
		</li>
		<li <?php echo($area == 'MN' ? 'class="active"' : '');?>><a href="<?php echo location_link('xo-so-mien-nam');?>"><span>Miền Nam</span></a>
		<?php if($locations && $area == 'MN'):?>
			<ul class="submenu">
			<?php foreach($locations as $k => $v):?>
				<li><a href="<?php echo location_link($v->alias);?>"><?php echo $v->name;?></a></li>
			<?php endforeach;?>
			</ul>
		<?php endif;?>
		</li>
		<li><a href="#"><span>Hôm nay</span></a></li>
		<li class="last">
			<ul class="submenu">
				<li class="first"><a href="#">CHỨC NĂNG</a></li>
				<li><a href="#">Thống kê</a></li>
				<li><a href="#">Soi kèo </a></li>
				<li><a href="#">Dịch vụ xổ số</a></li>
				<li><a href="#">Xem KQXS theo tỉnh</a></li>
				<li><a href="#">Xem KQXS theo ngày</a></li>
				<li><a href="#">Lịch mở thưởng</a></li>
			</ul>
		</li>
	</ul>
</div>